{% extends 'base.html.twig' %}

{% block title %}
    Oops! Page not found.
{% endblock %}

{% block stylesheets %}
    <link rel="stylesheet" href="{{ asset('/bundles/sonatacore/vendor/bootstrap/dist/css/bootstrap.min.css') }}">
    <link rel="stylesheet" href="{{ asset('/bundles/sonatacore/vendor/components-font-awesome/css/font-awesome.min.css') }}">
    <link rel="stylesheet" href="{{ asset('/bundles/sonatacore/vendor/ionicons/css/ionicons.min.css') }}">
    <link rel="stylesheet" href="{{ asset('/bundles/sonataadmin/vendor/admin-lte/dist/css/AdminLTE.min.css') }}">
{% endblock %}

{% block body %}

    <section class="content">
        <div class="error-page">
            <h2 class="headline text-yellow"> 404</h2>
            <div class="error-content">
                <h3><i class="fa fa-warning text-yellow"></i> {{ exception.message }}</h3>
                <p>
                    我们未能找到你需要的页面。<br>
                    你可以返回到 <a href="{{ path('sonata_admin_dashboard') }}">控制面板</a> 或者尝试搜索
                </p>
                <form class="search-form" action="{{ path('sonata_admin_dashboard') }}" method="GET">
                    <div class="input-group">
                        <input type="text" name="search" class="form-control" placeholder="Search">
                        <div class="input-group-btn">
                            <button type="submit" name="submit" class="btn btn-warning btn-flat"><i class="fa fa-search"></i></button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </section>

{% endblock %}
